package com.piggy.logi.sys.mapper;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.piggy.common.core.web.page.BaseMapperPlus;
import com.piggy.logi.sys.domain.LogiScheduleNode;

import java.util.List;

public interface LogiScheduleNodeMapper extends BaseMapperPlus<LogiScheduleNode> {

    default List<LogiScheduleNode> selectByScheduleId(Long scheduleId) {
        return selectList(Wrappers.<LogiScheduleNode>lambdaQuery().in(LogiScheduleNode::getScheduleId, scheduleId));
    }
}
